import { observable ,action} from "mobx";

class RootStore {

  @observable //定义数据
  token='';

  @action //修改action
  updateToken(newToken){
    this.token = newToken;
  }

}

export default new RootStore();